package core.util;
/**
 * 常量类
 * @author Administrator
 *
 */
public class Const {
 
   
 public static final String DEFAULT_CODE = "UTF-8";
 /**
  * 状态
  */
 public static final String STATE = "state";
 /**
  * 提示信息
  */
 public static final String ERRMSG = "desc";
 /**
  * 异常
  */
 public static final String EXCEPTION = "exception";
 
 /**
  * 命名空间
  */
 public static final String NAMESPACE = "namespace";
 /**
  * 数据显示
  */
 public static final String DATA = "data";
 
 /**
  * 跳转方式
  */
 public static final String TYPE = "type";
 
 public static final String KEY = "key";
 /**
  * 跳转方式
  */
 public static final int AJAX = 0;
 
 public static final int FORWORD = 1;
 
 public static final int REDIRECT = 2;
 /**
  * 验证码
  */
 public static final String CODE_IMG = "CODE_IMG";
 
 public static final String NO_DATA = "数据不存在";
 
 public static final String DAO_FIX = "dao"; //dao的xml
 
 public static final String SERVICE_FIX = "service";//service的xml
 
 public static final String URL_WRITER_FIX = "urlWrter";
 
 public static final String INSERT = "insert";
 public static final String UPDATE = "update";
 public static final String DELETE = "delete";
 public static final String SELECT = "select";
 /**
  * 是否成功
  */
 public static final int  IS_SUCCESS = 0;
 /**
  * 是否失败
  */
 public static final int  IS_FAIL = 1;
 
}
